﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="NewEvent.aspx.cs" Inherits="NewEvent"
    MasterPageFile="~/MasterPage.master" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <asp:Label ID="lbSelectedDate" runat="server" Font-Bold="True" Font-Size="X-Large"
        Font-Underline="True"></asp:Label>
    <br />
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
    <br />
    <asp:Label ID="Label1" runat="server" Text="Tên sự kiện"></asp:Label>
    <br />
    <asp:TextBox ID="txtEventName" runat="server" Width="50%"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtEventName"
        ErrorMessage="Event name is required" SetFocusOnError="True">*</asp:RequiredFieldValidator>
    <br />
    <br />
    <asp:Label ID="Label2" runat="server" Text="Mô tả sự kiện"></asp:Label>
    <br />
    <asp:TextBox ID="txtDesc" runat="server" Width="50%"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtDesc"
        ErrorMessage="Description is required" SetFocusOnError="True">*</asp:RequiredFieldValidator>
    <br />
    <br />
    <asp:Label ID="Label3" runat="server" Text="Giờ bắt đầu"></asp:Label>
    <br />
    <asp:DropDownList ID="ddlHour" runat="server">
    </asp:DropDownList>
    &nbsp;&nbsp;&nbsp;
    <asp:DropDownList ID="ddlMinute" runat="server">
    </asp:DropDownList>
    <br />
    <br />
    <asp:Label ID="Label4" runat="server" Text="Thời lượng (tính bằng phút)"></asp:Label>
    <br />
    <asp:DropDownList ID="ddlDuration" runat="server">
    </asp:DropDownList>
    <br />
    <br />
    <asp:Button ID="btnSave" runat="server" Text="Lưu sự kiện" OnClick="btnSave_Click" />
    &nbsp;&nbsp;&nbsp;
    <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/NewEntry.aspx">Back</asp:HyperLink>
    &nbsp;&nbsp;&nbsp;
    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx">Main 
    Diary</asp:HyperLink>
    <asp:CustomValidator ID="CustomValidator1" runat="server" Display="None" ErrorMessage="CustomValidator"></asp:CustomValidator>
</asp:Content>
